﻿#pragma once

#include "CoreMinimal.h"
#include "Engine/DataTable.h"
#include "SmQuestGlobals.generated.h"

/** Holds global data for the SmQuest system. Can be configured per project via config file */
UCLASS(config=Game)
class SMQUEST_API USmQuestGlobals : public UObject
{
	GENERATED_BODY()

public:
	USmQuestGlobals();

	/** Returns the gameplay tag response object, creating if necessary */
	UDataTable* GetQuestTable();
	
protected:
	UPROPERTY(config)
	FSoftObjectPath QuestTablePath;

	UPROPERTY()
	UDataTable* QuestTable;
};